Release 10.1A: OpenEdge Development:
Internationalizing Applications
Using PROUTIL to perform the scan
When you are considering a particular code-page conversion, you want to check an existing database for characters that do not appear in the target code page. This is precisely what is done by the
PROUTILutility with theCONVCHARCHARSCANqualifier. It searches for every occurrence of specified characters in everyCHARACTERfield in the database, using the code page associated with the database. It reports the total number of matched fields, and for each matched field, reports the table name, field name, and record id.The syntax is:
db-nameThe database to be converted.
target-codepageThe code page you are considering converting to.
character-listA list of characters. The character list consists of code-page positions separated by commas. The string can include decimal or hexadecimal values for up to ten characters.
Note: For the complete syntax of thePROUTILutility, see OpenEdge Data Management: Database Administration .Here are some examples of scanning databases for character conflicts:
- You have an ISO8859-1 database called
mydbthat you are thinking of converting to 1252. To scan this database for the presence of characters not in 1252, run the following command:
- You have an IBM437 database called
mydbthat you are thinking of converting to ISO8859-15. To scan this database for the presence of characters not in ISO8859-15, run the following command:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |